import { ArticleModel } from '@/module/article/article.model';
import { Module } from '@nestjs/common';
import { TypeOrmModule } from '@nestjs/typeorm';
import {
  SpecificationV1Controller,
} from './specification.v1.controller';
import {
  SpecificationV1AdminController,
} from './specification.v1-admin.controller';
import { SpecificationModel } from './specification.model';
import { SpecificationService } from './specification.service';

@Module({
  imports: [TypeOrmModule.forFeature([SpecificationModel, ArticleModel])],
  controllers: [SpecificationV1Controller, SpecificationV1AdminController],
  providers: [SpecificationService],
})
export class SpecificationModule {}
